<!--搜索与重置-->
<template>
  <div>
    <el-button
      type="success"
      icon="el-icon-search"
      @click="crud.toQuery"
    >搜索</el-button>
    <el-button
      type="warning"
      icon="el-icon-refresh-left"
      @click="crud.resetQuery()"
    >重置</el-button>
  </div>
</template>
<script>
export default {
  props: {
    crud: {
      type: Object,
      required: true
    },
    itemClass: {
      type: String,
      required: false,
      default: ''
    }
  }
}
</script>

